package com.hh.releasenode.controller.user;

import com.hh.releasenode.controller.AbstractController;
import com.hh.releasenode.entity.SysUserEntity;
import com.hh.releasenode.form.SysRoleForm;
import com.hh.releasenode.form.SysUserForm;
import com.hh.releasenode.service.SysUserService;
import com.hh.releasenode.utils.Response;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

/**
 * @ClassName SysUserController
 * @Description TODO
 * @Author KunxianLi
 * Date 2020/6/12 11:09
 * Version 1.0
 **/
@RestController
@Api(tags = "角色相关接口")
@RequestMapping("/role")
public class SysRoleController extends AbstractController {

    @Autowired
    SysUserService sysRoleService;

    @ApiOperation("添加角色")
    @PostMapping("/add")
    public Response addRole(@RequestBody @Validated SysRoleForm sysRoleForm){

        return Response.success();

    }




}
